$OpenBSD: patch-ext_standard_config_m4,v 1.2 2013/09/20 20:20:10 sthen Exp $
--- ext/standard/config.m4.orig.port	Wed Sep 18 06:48:57 2013
+++ ext/standard/config.m4	Fri Sep 20 15:22:03 2013
@@ -388,16 +388,16 @@ dnl
 dnl Detect library functions needed by php dns_xxx functions
 dnl ext/standard/php_dns.h will collect these in a single define: HAVE_FULL_DNS_FUNCS
 dnl
-PHP_CHECK_FUNC(res_nsearch, resolv, bind, socket)
-PHP_CHECK_FUNC(dns_search, resolv, bind, socket)
-PHP_CHECK_FUNC(dn_expand, resolv, bind, socket)
-PHP_CHECK_FUNC(dn_skipname, resolv, bind, socket)
+PHP_CHECK_FUNC(res_nsearch, resolv, socket)
+PHP_CHECK_FUNC(dns_search, resolv, socket)
+PHP_CHECK_FUNC(dn_expand, resolv, socket)
+PHP_CHECK_FUNC(dn_skipname, resolv, socket)
 
 dnl
 dnl These are old deprecated functions
 dnl
 
-PHP_CHECK_FUNC(res_search, resolv, bind, socket)
+PHP_CHECK_FUNC(res_search, resolv, socket)
 
 dnl
 dnl Check if atof() accepts NAN
